////#include<iostream>
////#include<string>
////using namespace std;
////int main()
////{
////	string Pi("314159265358979323846264338327950288419716939937510582097494459230781640628620899862803482534211706798214808651328230664709384460955058223172535940812848111745028410270193852110555964462294895493038196");
////	int Pii = 0;
////	int n = 0;
////	cin >> n;
////	for (int i = 0; i < n; i++)
////	{
////		for (int j = 0; j < n - i - 1; j++)
////		{
////			cout << " ";
////		}
////		for (int j = 0; j < 2 * i + 1; j++)
////		{
////			cout << Pi[Pii++];
////		}
////		cout << "\n";
////	}
////
////	return 0;
////}
//
////#include<iostream>
////using namespace std;
////int main()
////{
////	int m = 0, n = 0;
////	cin >> m >> n;
////	for (size_t i = 0; i < m; i++)
////	{
////		for (size_t j = 0; j < n; j++)
////		{
////			cout << "(" << i << "," << j << ")";
////		}
////		cout << '\n';
////	}
////	return 0;
////}
//
//#include<iostream>
//using namespace std;
//
//bool IsPriem(int a)
//{
//	if (a % 2 == 0)
//		return false;
//	for (size_t i = 3; i < a; i += 2)
//	{
//		if (a % i == 0)
//			return false;
//	}
//	return true;
//}
//
//int main()
//{
//	int x = 0, k = 0;
//	cin >> x >> k;
//	if (x % 2 == 0)
//		x++;
//	int times = 0;
//	for (; times < k; x += 2)
//	{
//		if (IsPriem(x))
//		{
//			cout << x << " ";
//			times++;
//			if (times % 5 == 0)
//				cout << '\n';
//		}
//
//	}
//	return 0;
//}

